<?php

namespace app\wechat\controllers;

use app\wechat\core\BaseController;
use app\wechat\interfaces\UserInterface;
use app\wechat\models\UserModel;
use cm;

class UserController extends BaseController implements UserInterface
{
    /*
    * 获取常用联系人
    */
    function actionInfo()
    {
        return (new UserModel())->actionInfo();
    }

    /*
    * 获取常用联系人
    */
    function actionContacts()
    {
        return (new UserModel())->actionContacts();
    }

    /*
    * 添加常用联系人
    */
    function actionAddcontacts()
    {
        return (new UserModel())->actionAddcontacts();
    }

    /*
    * 编辑常用联系人
    */
    function actionEditcontacts()
    {
        return (new UserModel())->actionEditcontacts();
    }

    /*
    * 删除常用联系人
    */
    function actionDelcontacts()
    {
        return (new UserModel())->actionDelcontacts();
    }

    /*
    *添加意见反馈
    */
    function actionAddfeedback(){
        return (new UserModel())->actionAddfeedback();    
    }

    /*
    *上传
    */
    function actionUpload(){
        return (new UserModel())->actionUpload();
    }
       
    /*        
    *个人中心
    */
    function actionPersonal(){
        return (new UserModel())->actionPersonal();  
    }

    /*        
    *个人中心
    */
    function actionSaveinfo(){
        return (new UserModel())->actionSaveinfo();  
    }

}